POV-Ray : Newsgroups : povray.binaries.images :  : Server Time
16 Nov 2024 08:21:51 EST (-0500)
From: Doctor John
Date: 17 Feb 2003 11:52:55
Message: <3e511367@news.povray.org>
I'm definitely having problems getting this wall right!

The main problem is in rounding the edges of the bricks. As you can see by
my code (posted today in p.b.s-f), I'm creating the brick shape with a boxed
pattern, warped x & y (declaration line #96) then cloning the resultant
pattern (declared as a function line #114). This function is then used to
make a height-field.
So far, so good.
It seems obvious to me that the best way of rounding the basic brick shape
is by using a colour_map in the BrickShape pigment with a poly_wave
modifier. The gradation of pigment looks right when tested as a colour_map
on a plane, so why the *%!$! won't it give me a pleasantly rounded shape
when used in the height-field?
I have a horrible feeling that the problem might be tied up with the size of
the h-f (atm 1000x1000) but I'm already getting peak memory usage of 18 Meg
and on my machine (166 Mhz Pentium with 32 Meg Ram) that's heading for
frequent swapping (mem. usage seems to be exponentially linked with h-f
size).
Any comments or suggestions will be gratefully accepted.

BTW The existing code uses an image map (graffiti.png). You can simulate the
colour (the wall is supposed to be painted) by using rgb <0.99, 0.99, 0.824>

John
--
War is not good for children and other living things


Post a reply to this message


Attachments:
Download 'OldBrickWall.jpg' (64 KB)

Preview of image 'OldBrickWall.jpg'
OldBrickWall.jpg


 

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.